package cn.snailteam.recruitment.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * CompaniesList entity. @author MyEclipse Persistence Tools
 */

public class CompaniesList implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserInfo userInfo;
	private String companyName;
	private Integer companySpecification;
	private String establishTime;
	private String area;
	private String address;
	private String email;
	private String tel;
	private String descInfo;
	private String logPhoto;
	private Set companyDepartmentLists = new HashSet(0);

	// Constructors

	/** default constructor */
	public CompaniesList() {
	}

	/** minimal constructor */
	public CompaniesList(String companyName, Integer companySpecification,
			String area, String address, String tel) {
		this.companyName = companyName;
		this.companySpecification = companySpecification;
		this.area = area;
		this.address = address;
		this.tel = tel;
	}

	/** full constructor */
	public CompaniesList(UserInfo userInfo, String companyName,
			Integer companySpecification, String establishTime, String area,
			String address, String email, String tel, String descInfo,
			String logPhoto, Set companyDepartmentLists) {
		this.userInfo = userInfo;
		this.companyName = companyName;
		this.companySpecification = companySpecification;
		this.establishTime = establishTime;
		this.area = area;
		this.address = address;
		this.email = email;
		this.tel = tel;
		this.descInfo = descInfo;
		this.logPhoto = logPhoto;
		this.companyDepartmentLists = companyDepartmentLists;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public Integer getCompanySpecification() {
		return this.companySpecification;
	}

	public void setCompanySpecification(Integer companySpecification) {
		this.companySpecification = companySpecification;
	}

	public String getEstablishTime() {
		return this.establishTime;
	}

	public void setEstablishTime(String establishTime) {
		this.establishTime = establishTime;
	}

	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getDescInfo() {
		return this.descInfo;
	}

	public void setDescInfo(String descInfo) {
		this.descInfo = descInfo;
	}

	public String getLogPhoto() {
		return this.logPhoto;
	}

	public void setLogPhoto(String logPhoto) {
		this.logPhoto = logPhoto;
	}

	public Set getCompanyDepartmentLists() {
		return this.companyDepartmentLists;
	}

	public void setCompanyDepartmentLists(Set companyDepartmentLists) {
		this.companyDepartmentLists = companyDepartmentLists;
	}

}